package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.StationEntity;

import java.util.List;
import java.util.Map;

/**
 * 气象数据管理
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-04-18 17:30:13
 */
public interface StationService {
	
	StationEntity queryObject(Integer flowId);
	
	List<StationEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(StationEntity station);
	
	void update(StationEntity station);
	
	void delete(Integer flowId);
	
	void deleteBatch(Integer[] flowIds);

	List<StationEntity> timeList(Map<String, Object> map);

	int timeTotal(Map<String, Object> map);
}
